package com.taobao.api.response;

import java.util.List;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.internal.mapping.ApiListField;
import com.taobao.api.TaobaoObject;

import com.taobao.api.TaobaoResponse;

/**
 * TOP API: taobao.wlb.import.threepl.resource.get response.
 * 
 * @author top auto create
 * @since 1.0, null
 */
public class WlbImportThreeplResourceGetResponse extends TaobaoResponse {

	private static final long serialVersionUID = 5396654249413198734L;

	/** 
	 * result
	 */
	@ApiField("result")
	private TopResult result;


	public void setResult(TopResult result) {
		this.result = result;
	}
	public TopResult getResult( ) {
		return this.result;
	}
	
	/**
 * 资源列表
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class ThreePlConsignResourceDto extends TaobaoObject {

	private static final long serialVersionUID = 6664571967737927485L;

	/**
		 * 达成率
		 */
		@ApiField("achieving_rate")
		private Long achievingRate;
		/**
		 * 首重价格
		 */
		@ApiField("basic_weight")
		private Long basicWeight;
		/**
		 * 首重价格
		 */
		@ApiField("basic_weight_price")
		private Long basicWeightPrice;
		/**
		 * 破损赔付
		 */
		@ApiField("broken_compensate_price")
		private Long brokenCompensatePrice;
		/**
		 * 达成时效
		 */
		@ApiField("delivery_time")
		private Long deliveryTime;
		/**
		 * 丢失赔付价格
		 */
		@ApiField("missing_compensate_price")
		private Long missingCompensatePrice;
		/**
		 * 资源code
		 */
		@ApiField("res_code")
		private String resCode;
		/**
		 * 配送资源id
		 */
		@ApiField("res_id")
		private Long resId;
		/**
		 * 资源名称
		 */
		@ApiField("res_name")
		private String resName;
		/**
		 * 续重价格
		 */
		@ApiField("step_weight")
		private Long stepWeight;
		/**
		 * 续重价格
		 */
		@ApiField("step_weight_price")
		private Long stepWeightPrice;
	

	public Long getAchievingRate() {
			return this.achievingRate;
		}
		public void setAchievingRate(Long achievingRate) {
			this.achievingRate = achievingRate;
		}
		public Long getBasicWeight() {
			return this.basicWeight;
		}
		public void setBasicWeight(Long basicWeight) {
			this.basicWeight = basicWeight;
		}
		public Long getBasicWeightPrice() {
			return this.basicWeightPrice;
		}
		public void setBasicWeightPrice(Long basicWeightPrice) {
			this.basicWeightPrice = basicWeightPrice;
		}
		public Long getBrokenCompensatePrice() {
			return this.brokenCompensatePrice;
		}
		public void setBrokenCompensatePrice(Long brokenCompensatePrice) {
			this.brokenCompensatePrice = brokenCompensatePrice;
		}
		public Long getDeliveryTime() {
			return this.deliveryTime;
		}
		public void setDeliveryTime(Long deliveryTime) {
			this.deliveryTime = deliveryTime;
		}
		public Long getMissingCompensatePrice() {
			return this.missingCompensatePrice;
		}
		public void setMissingCompensatePrice(Long missingCompensatePrice) {
			this.missingCompensatePrice = missingCompensatePrice;
		}
		public String getResCode() {
			return this.resCode;
		}
		public void setResCode(String resCode) {
			this.resCode = resCode;
		}
		public Long getResId() {
			return this.resId;
		}
		public void setResId(Long resId) {
			this.resId = resId;
		}
		public String getResName() {
			return this.resName;
		}
		public void setResName(String resName) {
			this.resName = resName;
		}
		public Long getStepWeight() {
			return this.stepWeight;
		}
		public void setStepWeight(Long stepWeight) {
			this.stepWeight = stepWeight;
		}
		public Long getStepWeightPrice() {
			return this.stepWeightPrice;
		}
		public void setStepWeightPrice(Long stepWeightPrice) {
			this.stepWeightPrice = stepWeightPrice;
		}

}

	/**
 * result
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class TopResult extends TaobaoObject {

	private static final long serialVersionUID = 8391642552516823475L;

	/**
		 * 错误代码
		 */
		@ApiField("error_code")
		private String errorCode;
		/**
		 * 错误信息
		 */
		@ApiField("error_msg")
		private String errorMsg;
		/**
		 * 资源列表
		 */
		@ApiListField("resources")
		@ApiField("three_pl_consign_resource_dto")
		private List<ThreePlConsignResourceDto> resources;
		/**
		 * 错误代码
		 */
		@ApiField("sub_error_code")
		private String subErrorCode;
		/**
		 * 错误信息
		 */
		@ApiField("sub_error_msg")
		private String subErrorMsg;
		/**
		 * 是否成功
		 */
		@ApiField("success")
		private Boolean success;
	

	public String getErrorCode() {
			return this.errorCode;
		}
		public void setErrorCode(String errorCode) {
			this.errorCode = errorCode;
		}
		public String getErrorMsg() {
			return this.errorMsg;
		}
		public void setErrorMsg(String errorMsg) {
			this.errorMsg = errorMsg;
		}
		public List<ThreePlConsignResourceDto> getResources() {
			return this.resources;
		}
		public void setResources(List<ThreePlConsignResourceDto> resources) {
			this.resources = resources;
		}
		public String getSubErrorCode() {
			return this.subErrorCode;
		}
		public void setSubErrorCode(String subErrorCode) {
			this.subErrorCode = subErrorCode;
		}
		public String getSubErrorMsg() {
			return this.subErrorMsg;
		}
		public void setSubErrorMsg(String subErrorMsg) {
			this.subErrorMsg = subErrorMsg;
		}
		public Boolean getSuccess() {
			return this.success;
		}
		public void setSuccess(Boolean success) {
			this.success = success;
		}

}



}
